﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Logistics.bear
{
    public interface IProcurementAppService: IApplicationService
    {
        Task<PagedResultDto<ProcurementDto>> GetListAsync(GetProcurementListDto dto);

        Task DeleteAsync(int id);

        Task<ProcurementDto> GetAsync(int id);
        Task<List<GetMaterialTypeDto>> GetMaterialAsync();

        Task<ProcurementDto> CreateAsync(ProcurementDto Procurement);


        int UpdateAsync(ProcurementDto Procurement);


    }
}
